import { getLocalizedMdx } from "@/shared/lib/mdx/load-mdx"; import { Layout, LayoutContent } from "@/features/page/layout"; import { Typography } from "@/components/ui/typography"; type PageProps = { params: Promise<{ locale: string }>; }; export default async function TermsPage({ params }: PageProps) { const { locale } = await params; const content = await getLocalizedMdx("terms", locale); return (
{locale === "fr" ? "Merci de lire attentivement ces conditions avant d’utiliser nos services." : "Please read these terms carefully before using our services."}